<!--
 * @Author: 杨文涓 943701297@qq.com
 * @Date: 2022-05-16 23:01:33
 * @LastEditors: 杨文涓 943701297@qq.com
 * @LastEditTime: 2022-05-17 17:08:03
 * @FilePath: \html css\9-CSS 七（第八天）CSS高级\1-拼写名字.html
 * @Description: 
 * 
 * Copyright (c) 2022 by 杨文涓 943701297@qq.com, All Rights Reserved. 
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拼写名字</title>
    <style>
        .container {
            width: 380px;
            margin: 100px auto;
        }

        span {
            display: inline-block;
        }

        .y {
            width: 115px;
            height: 120px;
            background: url(./img/abcd.jpg) no-repeat -363px -549px;
        }

        .w {
            width: 140px;
            height: 115px;
            background: url(./img/abcd.jpg) no-repeat -113px -555px;
        }

        .j {
            width: 105px;
            height: 120px;
            background: url(./img/abcd.jpg) no-repeat -389px -133px;
        }
    </style>
</head>

<body>
    <div class="container">
        <span class="y"></span>
        <span class="w"></span>
        <span class="j"></span>
    </div>
</body>

</html>